<?php

namespace App\Http\Controllers\Home;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Admin\Link;

class AboutController extends Controller
{
    public function index(){
        $data = Link::where('isdel','2')->get();           //友情链接
        return view('home.about.index',compact('data'));   //关于主页
    }

    public function pictures(){
        return view('home.about.pictures');  //公司相册
    }

    public function abstract(){
        return view('home.about.abstract');  //公司简介
    }

    public function declare(){
        return view('home.about.declare');  //免责声明
    }

    public function conceal(){
        return view('home.about.conceal');  //隐私条款
    }

    public function f404(){
        return view('home.about.404');  //404
    }
}

